package com.happy.service.main.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.happy.core.dto.WeiXinDTO;
import com.happy.core.service.WeXinService;
import com.happy.core.util.AssertUtils;
import com.happy.service.main.bl.WeiXinBL;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @program: happy-shopping-op
 * @description: 微信接口实现
 * @author: taoxinhuan
 * @create: 2020-04-02 20:47
 **/
@Service
public class WeiXinServiceImpl implements WeXinService {

    @Autowired
    private WeiXinBL weiXinBL;
    @Override
    public void login(WeiXinDTO query) {
        AssertUtils.notNull(query,"查询对象不能为空");
        weiXinBL.login(query);
    }
}
